/*
 * @Author: fisher
 * @Date: 2024-02-06 16:24:58
 * @LastEditors: fisher luthor-li@qq.com
 * @LastEditTime: 2024-02-06 16:26:27
 * @FilePath: \allback\utils\httpError.js
 * @Description:
 */
// utils/http-error.js
class HttpError extends Error {
  constructor(message, status) {
    super(message)
    this.status = status
    this.name = 'HttpError'
  }
}
module.exports = HttpError
